Cody Bellinger drove in three runs, and Ryan McMahon hit a two-run home run as the New York Yankees won their fifth straight, defeating the Texas Rangers 7-4.